//
//  WeiBoCommon.swift
//  Weibo
//
//  Created by cc on 9/21/17.
//  Copyright © 2017 cc. All rights reserved.
//

import Foundation

// MARK: 应用程序信息
//应用程序ID
let WBAppKey = "1057194360"
//应用程序加密信息
let WBAppSecret = "b6acc3183e3ae78b3b8beffbda076aeb"
//回调地址
let WBRedirectUrl = "http://misters.cc"


// MARK: - 全局通知定义

/// 用户需要登录通知
let WBUserShouldLoginNotification = "WBUserShouldLoginNotification"

let WBUserLoginSuccessedNotification = "WBUserLoginSuccessedNotification"


// MARK: -照片浏览通知定义
//微博cell 浏览照片通知
let WBStatusCellBrowserPhotoNotification = "WBStatusCellBrowsePhotoNotification"
//选中索引key
let WBStatusCellBrowserPhotoSelectedIndexKey = "WBStatusCellBrowserPhotoSelectedIndexKey"
//浏览照片URL字符串Key
let WBStatusCellBrowserPhotoURLsKey = "WBStatusCellBrowserPhotoURLsKey"
//父视图的图像数组Key
let WBStatusCellBrowserPhotoImageViewsKey = "WBStatusCellBrowserPhotoImageViewsKey"

// MARK: - 微博配圖視圖常量
//配圖視圖的外則間距
let WBStatusPictureViewOutterMargin = CGFloat(12)
//配圖視圖的內部間距
let WBStatusPictureViewInnerMargin = CGFloat(3)
//視圖的寬度
let WBStatusPictureViewWidth = UIScreen.cz_screenWidth() - 2 * WBStatusPictureViewOutterMargin
//每個 item 默認的寬度
let WBStatusPictureItemWidth = (WBStatusPictureViewWidth - 2 * WBStatusPictureViewInnerMargin) / 3





